Added check for TRAVIS to use older GCC flags