Fix BAD_SYSTEM_CONFIG_INFO error on Windows computer