Fix windows build issues.
Fix windows build issues.