[SRC] Check for memcache before trying to use it

25aa7e8 breaks things if memcache isn't available because it still
tries to load memcache when initialising the Memcache class.