fixes build with clang on linux