WINDOWS - replaced WIN32 constant by WINDOWS for 64 bit consistency