libevent: modernize.