synthetic-task.sh and CheckVersion.sh: Cygwin's Bash does not support "declare -g".