Fix Travis CI building with gcc.