fixed IPv6 prefix handling issue on Windows