Unreal 5.6 source does not build due to compile errors but 5.5 source built fine.

I am trying to build Unreal 5.6 source but it does not build. There are errors with FCppClassTypeInfo in Class.h in CoreUObject, as well as compilation errors in MetalCompileShaderMSC and UBASessionServer.cpp. I don’t know why a windows machine is trying to build MetalCompileShaderMSC.cpp as part of UnrealInsights when MetalCompileShaderMSC.cpp is inside the Apple Folder in Engine\Source\Developer.
Unreal Engine 5.5 has built successfully on our test rig, but not 5.6 for some reason. I’d appreciate a bit of help here.