Move SIGCHLD definition to compat.h so that other files can use it.