build.sh: Die with an error if a wget fails