Enable libevent_pthreads and threadsafe bufferevents