Use clang complete for c/c++ completion