Fix build with clang