move memcached install up to the first line for debugging