decouple cpc_defs.h inclusion from other header files