Replaced "#ifdef WIN32" with "#ifdef _WIN32"