Invoke prepare.sh scripts with /bin/sh for platforms without bash.

/cc @cheeseplus