Fixed compile error on MSVC2010