Fix FindOnPathSucceeds failing on some Linux flavors (#6055)
Fix FindOnPathSucceeds failing on some Linux flavors (#6055)

Fixes #4781, #3580.
rainersigwald/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,mono/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,mono/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,mono/msbuild,mono/msbuild