Made build.sh directory agnostic.