t/test-lib.sh: export PERL_PATH for use in scripts