improve versioning code in build.sbt