[travis] Speed up build for gcc.