Ruby 1.8 compatibility
Merge pull request #1 from iced/master

Ruby 1.8 compatibility