Did a brand new checkout to another folder, and updated the global variables in C::B as well. The rebuild failed again. What else could be wrong? Settings in the compiler?
P.S.: Could someone else try a full checkout to see if they can reproduce the issue?