Added support for symlinks on Windows.
Merge pull request #11765 from slai/9379-win-symlinks

Added support for symlinks on Windows (#9379)