use more portabel perl shebangs

use `/usr/bin/env perl` instead of `/usr/local/bin/perl` as it finds
perl in non-hard-coded locations