Fix build.sh script