Removed warnings in windows build.