Update bin/compile
allow buildpacks to export environments
whoops
pass the dir along