[GHC] #10032: --with-system-libffi not working on Solaris