symlink on windows if allowed

Credit to: @stefanpenner and @duizendnegen