Fix libarchive configure and makefiles for Linux build.