Fix tests compilation error on Windows
v1.7.0