Fixes a Ruby 1.8.7 regression.
Merge pull request #234 from bryantraywick/bryantraywick-fix-ruby-1.8.7-regression

Fixes a Ruby 1.8.7 regression.