Move envvars in build script to beginning of line