Fixed cd directory to call the correct variable in build.sh.