Added sys/wait.h to silence warning with -Wall