Fix some env var in build.sh