Fix windows build and run.