Apparently is is not always set when using MSVC (not sure in which cases it is missing).
Symlinks aren't working very well with Git under Windows so better avoid them.