libarchive: build a minimal version