Use bash for build_shar.sh

Bourne shell doesn't support arrays