bash script to generate h/version.h