fixed clang build on linux