Change default solaris2 CC environment to include shared-libgcc

libtool drops -shared-libgcc flags, here is a workaround per here:
http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00004.html