fix clang build error