Use proc_pidpath to get the process path on macOS when available