Replaced all boost calls with c++11 equivalents.