Correct the completion message in build.sh

This was upside down, such that it would print "success" on error.