Check bash version instead of OS for bash completion

The bash completion script requires bash 4.0