Switching memcache check from 'extension_loaded' to 'class_exists' for issue #2