Fix compatibility with older versions of the ruby std lib (i.e: the one on cruise...