should have just used _WIN32 to detect Windows build