fix clang complete for mac