Fix Rubinius compatibility.