Cannot build Unreal Engine without PCH

I’m trying to build Unreal Engine using cclash (compiler cache).

However, cclash doesn’t support precompiled headers. Okay, I disable them with bUsePCHFiles=false in BuildConfiguration.xml

Unfortunately, Unreal Engine doesn’t seem to build with bUsePCHFiles=false (regardless of cclash usage):

22>c:\users\m.radchenko\documents\projects\unreal\engine\source\programs\unrealheadertool\private\Class.h(18): error C2504: 'UClass' : base class undefined
22>C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(136): error C2027: use of undefined type 'UClass'
22>          C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\Core\Public\Core.h(78) : see declaration of 'UClass'
22>C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(136): error C2227: left of '->HasAnyCastFlag' must point to class/struct/union/generic type
22>          C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\Core\Public\Core.h(78) : see declaration of 'UClass'
22>C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(137): error C2027: use of undefined type 'UClass'
22>          C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\Core\Public\Core.h(78) : see declaration of 'UClass'
22>C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(137): error C2227: left of '->HasAnyCastFlag' must point to class/struct/union/generic type
22>          C:\Users\m.radchenko\Documents\projects\unreal\Engine\Source\Runtime\Core\Public\Core.h(78) : see declaration of 'UClass'

And so on. Am I doing something wrong?

Looks like it was fixed in master since my question was created.