Add Windows support to /modlog