change all WIN32 defines to _WIN32 as this is only one c++11 has by default on mingw-w64