typo, should be something like
[ "${BASH_VERSINFO}" -lt 4 ]
or [ "${BASH_VERSINFO[0]}" -lt 4 ]