autoconf: Support cygwin in addition to mingw