MinGW: use POSIXy signature of waitpid()