Making travis work with C++11