Improve build.sh to create flashable.zip