Add --xml option to cc, fix #49