Fix clang detection on Xcode 4.6+.
Thanks to danielj.
Sync from distribution
Fix POD