SystemTools: Fix removing of soft links to directories on Windows
This is a fix for the problem I mentioned here. It turns out that the problem is not only MSYS specific. Symbolic links created with CreateSymbolicLink should be removed differently depending on whether the link is to a file or to a directory.
Edited by Brad King