add linux libevent and memcached