Fork libmemcached, cross-platform compatiblity, orig: