Removed new LLVM's deprecation warnings

So that we can keep code backward compatible but remove the new deprecation warnings introduced with Xcode 4.6

See #315