mingw support added