Caused by the following lines in config.w32, which were added in 0555447 for PHPC-892.
if (CHECK_FUNC_IN_HEADER("ws2tcpip.h", "socklen_t")) {
mongoc_opts.MONGOC_HAVE_SOCKLEN = 1;
}
This check apparently fails, but Windows does have "socklen_t" defined.