mingw-gdc setup and fixes