Upgrade pathwatcher to support windows builds