Fixes #5224: correct methods to find ncf promises on windows