[Git][ghc/ghc][wip/dcoutts/windows-dlls-experimental] Only build the ghc lib the dynamic way if supported