Improve build.sh for building from source (upcoming 2.2)
misc
misc