Make vc tests working with CMake/CTest on Windows