windows: avoid non-standard _WIN32 preprocessor symbol
cmake: windows cleanup