Add sys/wait.h to include files. Move constants to jobexec.h