MSVC2008 build fix