Little tweak to restore Ruby 1.8 compatibility.

Unless it's been decided to drop Ruby 1.8 altogether, of course.