UE 4.27 build failures.

Hi
I m building UE 4.27 source. The build seemed fine when I built through command line. I m using the built UE4.27 in my project as a dependency/
I m getting the following error when I build my project for XBOXOneGDK

‘DECLARE_UMD_EXPORTS_DXGI’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’|EadpSDKUnrealDemo|C:\Program Files (x86)\Microsoft GDK\221000\GXDK\GameKit\Include\XboxOne\d3d11_x.h’

Looks like I cant use Microsoft GDK version 221000 for UE4.27. How do I switch UE to use a different version of Microsoft GDK. I m using VS 2019 IDE for my project.
Thanks in advance.