Fix compilation with clang