fix 'pyps' tool for os x