fix pid finding on mach