update for MSVC 2010