Backwards compatability for ruby 1.8

And probably below too.