Make it build on llvm 3.5

Tried to take care to keep it compatible with <3.4.
Ah yes, I see, the fix that makes this work is in RB-1.4, but was put in after 1.4.12 was tagged, and I haven't tagged a new release since then. I will do that today. You can test by just checkout out the head of RB-1.4.