Added check on _WIN32 macro