Add support for Ruby v1.9.x