Move #include <sys/wait.h> directive so it is not seen in the windows build