windows build warning fixes