register_libevent_server has to be prefixed on OSX.