Define a replacement inet_pton() function for Windows