register_libevent_server has to be prefixed on OSX.
Merge pull request #932 from danslo/libevent

register_libevent_server has to be prefixed on OSX.