make src can be compiled on windows by vs2010 and test is passed