get rid of a couple of warnings for msvc