Upgraded gcc to 4.8 for Travis CI.