Implement generic inet_pton for windows