Support older versions of ruby