ccn: minor fixes

Some minor cleanups.
`#if defined(…) || defined(…) || defined(…)`