Fail properly here.

Otherwise the process exit code is not correctly set.
Script for running local build.