don't find directories when searching for executables
Merge pull request #384 from haarg/devel

don't find directories when searching for executables