Support Ruby 1.8

This should fix #150
Has there been an issue opened for this `TODO`?