[GHC] #10374: Can't build GHC with a dynamic only GHC installation