fix mingw-w64 build
Merge pull request #1 from nogagplz/master

fix mingw-w64 build