Added check for fork() to fix the MinGW build.

4 files changed