fix weakref for rubinius