Add pthreads + memcached as static extensions