[GHC] #8365: stage2 build fails on Solaris (SmartOS)