Fix build with clang compiler