Add symlink detection for Windows

The right way is to provide symlink support in Golang, but this is the best we can do for now.
Windows will now behave like Unix when it comes to symlinks.