ZMQ: fixed warnings and others