Apply ProcessMonitor changes from r190820 to FreeBSD