better check for workaround for unknown bug in cygwin