fixed clang build