Provide a fallback for a function argument

For ease of debugging, we like to `set -u` in our scripts.  Unfortunately, if it leaks out to the environment where build.sh is running, referencing an undefined '$1' breaks build.sh. This should fix that problem.