fix build with clang