s3-build: only include memcache.h where needed.