Dylan Smith : tools: Detect windows platform with _WIN32 instead of _WINDOWS.