Move version.h generator into its own tool