issue #4277 : Refactor CCBReader to support compile.

issue #4277 : Refactor CCBReader to support compile.