Patched rc error check to work with ZMQ 3.x