Fix cwd in build.sh.