win64 mingw-builds compatibility

- extra flags make ms linker stop complaining about not finding __chkstk_ms whithout having to also link to gcc
- when compiling with fortran, always link to libgfortran.dll.a, the static import lib for libgfortran-3.dll provided by mingw-builds