The zstd template had multiple issues: - Since not all targets where built in do_build, compilation happened in do_install. - Both zstd(1) and pzstd(1) statically linked libzstd. - The libzstd.a library was meant to have multi-threading support, but was overwritten by a single-threaded version as a side-effect. We patch pzstd to use dynamic linking and use "zstd-dll" for zstd.