bring support for ruby 1.8

closes #3