Make test suite work with perl in $PATH instead of hardcoded /usr/bin/perl