build,w32: Update configure script.
* configure.ac: Don't use gl_HEADER_SYS_SOCKET, but check winsock2.h.