libcollectdclient: Add defines for Windows compatibility.