fixed msvc 2008 build