Tests build failed to build on MSVC

Here the solution for MSVC build 4d63dd5