[fix] compile in clang++