fix test-dirs for when no xt exists
make build-perl an executable script instead of a sourced function
test via travis
test perl versions built