Fixes to Memcached setup