Lua XIP patches