MinGW: use POSIX signature of waitpid()