Fix compiling with Clang