More standard platform checking for cygwin