Fix build with nmake and Visual Studio 2008