find(sub { push @libs, "$_\n" if -f && /\.lib(?:\.\d+)?$|serport|serport_d/ && !$seen{$_}++; }, "$options{data}");