Use bash-4 ${foo^} when available.