Update build-image.sh

Fix else if expression