Fix MinGW-w64 build

2 checks for _MSC_VER were replaced by
checks for _WIN32 in the test program.