fix MSVC 2010 build somewhat (?)