normalise 'build' function args to match 'release' and 'deploy'

As requested in the user-env-compile discussion.