Fix the notifier to work better on Windows

I'm fixing a few initial issues I found when getting the notifier building on Windows.