add c++11 support for Travis CI