build: Do not always regenerate the version.h file