tools/zstd: compile with cmake