Fix compile error with Clang