Use update-alternatives for travis GCC update.