Merge pull request #1660 from SmallAiTT/iss_4277_fix4release3.0

issue #4277 : Refactor codes to support compile.
issue #4277 : Refactor CCBReader to support compile.