Change autoconf perl env to which perl

This fixes an issue where autoconf cannot find perl if it isn't in `/usr/local/bin`.