[Windows][Tests] Fixed compile issues on Windows.