Compile error with UE 4.10.2 in debug configuration

I’ve tried compiling the UE 4.10.2 from sources in debug configuration (Debug Editor, Win64 is the selected configuration in VS 2015).
The only change that I made to files is setting bDebugBuildsActuallyUseDebugCRT to true in BuildConfiguration.cs.
The error I get is the following:



  [1/1] Link UE4Editor-PerforceSourceControl-Win64-Debug.dll
1>librpcd.lib(netsslendpoint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in SlateBasics.h.obj
1>librpcd.lib(netsslendpoint.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in SlateBasics.h.obj

To me it seems clear that the PerforceSourceControl is not build in debug configuration, even though I explicitly asked for the debug CRT. Does anybody know what to do to actually build that dll?
The editor itself seems to compile just fine, but when I try to run it it will complain about that unbuilt dll being missing, and I am not able to work around that either.