Fix issue with old libmemcached versions