avoid unistd.h and sys/wait.h on Windows