patch to fix a compile issue while running "make check" (always the wrong pid, the right one is pid+2)