Improve MinGW-w64 compatibility on 64-bit Windows.

- try to disable generation of calls to ___chkstk_ms when compiling
  fortran code (better than adding dependency to gcc when linking with
  MSVC)
- always link to gfortran dll when compiling with gfortran