ls.cpp now compiles with c++11