Added c++11 support for Travis.