update msys_build.sh for build changes and mojibake