Set version info during compilation.