Add compatibility with iOS 6 in LuaJIT library.