Fixed MSVC2008 compilation.