Fixed cmake warning related to WIN32 macro when configuring on cygwin