build.sh: pushd/popd are not POSIX

If /bin/sh is not bash, pushd/popd may be missing.
Update deps
Merge pull request #3 from justinmk/shebang

build.sh: pushd/popd are not POSIX