merge the version.h autogeneration stuff from 3.0