use c++11-conformant _WIN32 test macro