fix nvt build on vs2008