Fix level 4 warnings under VS