Travis language specific flag setting rewrite

Bash 4 is required for associate arrays and OSX seems to have an earlier
version