process for Macintosh
Merge pull request #47 from xeno1991/ps_for_mac

fixed process search on Mac OS X