Do not link to msvcrt.dll
msvcrt is a system component and you can't depend on it, it should be either msvcrVERSION.dll if you're using dynamic linkage or nothing if you're using static.
More against msvcrt: https://sourceforge.net/p/mingw-w64/wiki2/The%20case%20against%20msvcrt.dll/
GCC solution: http://www.mingw.org/node/25\#comment-106 (not sure if it is relevant here)
P.S. I am not user of GHC, I am just using one application written in Haskell.