Fix a compiler error when this method is on Windows.