extract cc_version method.