Fix building with Clang