when cleaning up, consider windows paths

prevent require'd node_modules from getting deleted after every build on windows.