fix build.sh on bamboo.