Factor out version in build file.