Fix the follow-link bug on windows