Corrected Cygwin environment check

See http://sourceforge.net/p/predef/wiki/OperatingSystems/