adding libevent link