Fix AX_PROG_PERL_VERSION macro
Fixed building on FreeBSD 8.1