configure.ac: first changes for mingw32 port.