Fixed build.
+ Lua 5.2.2 patches