Fix MSVC /W4 warnings