make IOCTL_SO_GETHOSTID more accurate on Windows