Fixed LuaState create method.