Add more git ignore patterns for Mac OS X platform.
Add condition to turn off the temporary fix on CMake 2.8.12.

CMake/Xcode v2.8.12 appears to have fixed the iOS auto-linking issue. Tested on Xcode 5.