Check for success when building models.
Simplifications and remove old code in the build scripts.