Add scripts for libarchive and cmake.