Mac & BSD patches to squashfs-tools (UNOFFICIAL)