fixes for Windows directory_watcher