Merge "Make squashfs work on BSD and macOS"