fix build issue with clang