Resolve symlinks on all platforms, custom symlink on Win32