Clean up C++11 compilation warnings on Windows