Fix some warnings on OSX

Fixing some warnings during build on OSX 10.9.  There's still a warning in `src/gldns/str2wire.c` about `strlcpy` -  it's in /usr/include/string.h but within this define block:

`#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL`