Various small build fixes to reduce warnings.
Various small build fixes to reduce warnings.

tony2001/libmemcached,mckelvin/libmemcached,mckelvin/libmemcached,tony2001/libmemcached,tony2001/libmemcached,mckelvin/libmemcached