Make asyncFork() work properly on OS X.