Revert "Ruby 1.8.7 compatibility fix"

This reverts commit 0f5206c11812da337c91904c28e4c7d8d5bf498a.