fixed debug build with clang.