Working DE detection for Cygwin.