Updates gitignore for different OSes.