UE 4.26 does not build in shipping mode under visual studio 2019 for windows

Hello,

I have pulled out the code generated projects and tried to compile the shipping target.
I get errors in this target with

STATS define, there are various pieces that use it

The other issues are with the ChaosPhysics Engine which also do not compile.

In the shipping target are these supposed to work or not?