make zmq optional for header only compile