tools: make zstd tool core and xz tool non-core