Modified Lua compilation to generate position independent code