use libevent instead of libev