Fix CI for clang-6 when cross-compiled.