simplify zmq detection