Have version.sh use sh rather then bash