tools/zstd: build libraries as static