add c++11 flag to travis