fix version check to allow automatic package version bumping