dist-check: explicitly specify gcc for Solaris.