Improve git ignore for autotools and build.