Implement cpt.py -c for Darwin platform