[daemon] fix wt-monitor under macosx