cygwin vs cmd detection