Fix GetInfo on Windows.