Better and more universal Cygwin detection