revert prev two commits, go back to gcc 4.8

There's some issue about which ubuntu version travis is running,
it seems we can't easily get gcc 4.9 from a PPA.