Use relative indexes in luaL_ctypeid