add a missing include for waitpid