Replaced lua_open with luaL_newstate for 5.2+