prefix env variables with BUILDPACK_, fix bash syntax