update .gitignore file compatible with OS X