Updating to include some missing steps.
Updated and new scripts for mingw builds.