[tools] squashfs: link statically