Fix mkimage.sh