Removed warnings on MSVC