Fix Compatibility with Windows.