add conditional compilation for CCS related thing