Compile error C4582 when compiling cesium for UE4.27

Yes I’m using Unreal 5.

Here’s a reference to a similar looking error: Packaging Error (s2geometry.lib)