fix compilation for Visual C++ 2010
compiles with Visual C++ 2008