Have travis install gcc-4.8 before building.