[minor] Fixed an issue causing the win32 unit tests to fail on CI.