Fixed compilation error with clang