Fix compiling with clang