add name parsing and default CC for clang ruby, fix #2342