ruby 1.8 compatibility fix
Merge pull request #8 from jlxw/release

ruby 1.8 compatibility fix