clang on linux fixes