Generate version information as part of the build.