Add UNIX<->Windows socket compatibility #defines.