Added simple dependency check to build.sh