Update .gitignore to ignore all target dirs.