These fixes let all the tests to compile with the latest version of Microsoft Visual Studio Compiler (MSVC)