Fix build for an old libevent.