Animation Locomotion Library fails to compile on start and throws error when building project

Open Engine/Plugins/Animation/AnimationLocomotionLibrary/AnimationLocomotionLibrary.uplugin

Set LoadingPhase to PreDefault, it worked for me.