cc integration - fix compilation errors