Compile error with source code 4.21 and 4.22.1-release

Removing Windows SDK 10.0.18362 is not a possibility for my requirements. Adding definitions to UBT seems to be the best approach for now