Clean .gitignore, disable config.h.in generation, write config.h.in