Replaced boost with c++11