Fixed broken builds for zmq < 4.0.0