Modularize cc_helper