Zmq patch for fms