fix recursion on windows - closes #2414