fix tr1 / c++11 changes for MSVC