Generate config.h with version information