Updated build.sh to attempt to look for SCALA_HOME