Fix to support LLVM/ruby that ships with Xcode 5.1
Merge pull request #577 from seanknox/fix-xcode51-ruby

Fix to support LLVM/ruby that ships with Xcode 5.1
Pan's changes