Corrected Cygwin environment check