Fix MSYS OS detect
Merge pull request #257 from Alexpux/mingw-w64-builds

Fix MSYS OS detect