Support building thunks with clang Some platforms don't provide `x86_64-linux-gnu-g++` We should be more flexible and allow building and linking with clang.