LuaJIT Compatibility + fix for c/cpp mishandling by many distros