manually remove libevent