Improve behavior of IP::toUnsigned on Windows