Streamline the build process

Instead of having several build script, each a little different, this
expands the main build script to handle all of our current use cases.