configure.ac: Refactor Windows backend settings into one occurence The Windows backend is used both with MinGW and Cygwin, and since most settings are identical they can be set in one place.