fix compiling error when compiled with visual studio 2013