build.sh: Correctly fall back to curl
Merge branch 'develop' into hhu