Fixes compatibility for < Ruby 2 - Related to #75