Fixed bug in build.sh.