memcached as dynamic libary