mingw: give waitpid the correct signature