add windows support ,use mingw compile