Fix FreeBSD build due to previous changes to ProcessMonitor::Detach.