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
Massive fixup of commit history

rebase hides a multitude of sins