fix win build and run