Changed to allow compilation with clang.