SystemTools: Fix FileIsExecutable on Windows
Since !175 (merged),
FindProgram uses the new
FileIsExecutable method. On Windows this changed the check
_waccess, but the latter returns
success even for Windows Store stubs like
Since the goal of the original change was to fix executable permissions checks on UNIX-like platforms, simply restore the old check code on Windows.