Simplify the build.sh

Avoid manual submodules, better hostname handling.