added patches to fix problems with Process.damon