Modified build.sh to be able to build from any directory.