Use better semver ranges for 0.x versions, fixes #3518