fixed MSVC 2008 build