add missing _WIN32 checks