User semver.compare to make sure latest version is detected correctly (1.16 should be later than 1.8)