Fix compile error under clang