Add mingw support