Fixed libevent build.