Add CORE_API macro to Engine\Source\Runtime\Core\Private\HAL\MallocLeakDetection.h like this:
class CORE_API FMallocLeakDetection
Add CORE_API macro to Engine\Source\Runtime\Core\Private\HAL\MallocLeakDetection.h like this:
class CORE_API FMallocLeakDetection