Patches to make LuaJIT works on Solaris x86_64, see solaris-x64 branch