add a fallback gen_version.h if for some reason the creation of the file fails