Work around declare -g for Bash 4.1 on Cygwin