Fix build.sh on bamboo.