1.8 support.
Merge pull request #1 from ileitch/ruby18

1.8 support.