use correct luaL_openlib replacement for 5.2, fixes #1353