Fix clang for generic gcc toolchain