change some configs, windows can run without warnings and errors.