Fix compilation with Clang