Add a rmdir command before the mklink so mklink won't fail.
When mklink fails it makes any rebuild show as a failed build. So first rmdir the junction before creating it to make sure it will succeed.
When mklink fails it makes any rebuild show as a failed build. So first rmdir the junction before creating it to make sure it will succeed.