Rubinius compatibility fix