Fix build on MinGW against libarchive-git