Set the working directory on Windows very early to also help code which uses relative resource paths