Fix for MSVC2010 build