c++11 workaround for travis