osproc: MacOSX workaround for lack of execvpe
osproc: MacOSX fix - if -> when
Merge pull request #957 from zielmicha/macosx-fix

osproc: MacOSX workaround for lack of execvpe