Revert "mingw64 compatibility"

This reverts commit c60b680ad8a2e26ae9878817614b986956acf86b.
always link to gfortran dll

also disable stack checks that require linking to the gcc runtime