[GHC] #12496: GHCi reports unknown symbols in Win32 when linking C and C++ libs