Update .gitignore with target/ directory.