[build] Move archive version info into version.h (for non autotools build).