Fix TypeMapInRuby for Rubinius.