Add support for "-x c++" and "-x c" options