Upgrade to gcc 4.8 for Travis CI.