[build] Move library version info into the version.h file.