fix HAVE_IOCTLSOCKET (windows) test