Mirror of the build script that drives the validator build.