Fixed Level 4 warnings on Windows