Adding libevent dependency