Some sanity checks added to build script.