Hi,
May you be great.
If you are using UMotionControllerComponent, the right module to add to <your_project>.Build.cs is HeadMountedDisplay, consequently the right include is #include "MotionControllerComponent.h".
See references at
May this help you.
Bye.