Merge pull request #1 from kerneis/master

Fix build_host.sh
More reliable and complete build script