Reverting memcached dependency to its previous value

See #1069.