fixed process search on Mac OS X

fixed #31, but not sorted.