Fix test failure on systems where SIGCHLD = SIGCLD