And add -pthread flag.
Update for their migration to the CMake build system and use of binary sdk artifacts.
This is a different toolchain following how wasi-sdk defines the platform triple and how builds are configured -- everything should be built with the flags defined in the toolchain file. We build from web-wasi:latest, and that is built first.