Fixed up build.sh script