fixed: c++11 compile errors