Add initial support for mingw64.