Fix compilation with clang from trunk