Resync MinGW buildscripts w/ libarchive changes