fix windows compilation bugs