This brings the script in the repo up to date with what is being used to generate release builds for OBS Studio on Windows, as well as fixing up a few issues.