mac: fix crash in watcher. closes #1190