fixed some warnings of precommit_windows Build #5597