Fixed compile error with clang.