Support for building with mingw-w64 (win32/win64)