Update .gitignore and remove config.def.h