fix compiling on newer VS