removed usage of std::to_string as it's still not supported in mingw on windows ( versions < gcc 4.8.0 )