The file above only exists in VS2022
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.31.30818\include\initializer_list
You need Windows SDK 10.0.18362.0 which you can select when you install VS2022 to build UE5 follow the instructions in
Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER .
It would appear that UE4.26-4.27 requires VS 2017 to work with anything!.
My repository uses the latest version uses VS2022, to build plugins and package projects.
The official UE5 version will ask for VS2019 until the official release of UE5.* is made.