Add automatic generation of version.h header