Fix a build issue when building against libzmq master

zmq_event_t isn't defined in libzmq master.