Fix 345976: Support Ruby 1.9