UHT cant handle #if WITH_EDITOR

Same here with 4.18.2. @Steve is there an estimate on when this issue is going to be fixed?