Use `semver` instead of handwrite compare of zmq version