Semver 3.0 compatibility fix