Compile fixes on OS X
Don't link against LuaJIT on OS X