Transform tools/ and ui/ from C to C++.