build.sh needs to use exit not return

using return causes bash to print a warning. "return" is only valid in subroutines. we're exiting with an error code from the "main" level of the script, use "exit" instead.