remove use of c++11 unsupported features on Win