Modular Control Rig doesn't work in build; it works in Engine and Standalone but doesn't work in build in 5.4

So I have a simple modular control rig with an offset to bend the knees of my character. It works fine in the engine and in standalone mode. But doesn’t work in build. Note this happens only in 5.4. Does anyone have an idea why and how to fix that?