Modify and test under windows, using gcc4.7.2 + llvm3.1(build with gcc).