Correctly checking for cygwin as host platform