Fix compile error in clang