bin/compile: Properly create tar.gz and tar.bz2 tarballs