Changed usage of predefined macros to detect windows platform
WIN32 -> _WIN32 || _WIN64