Fix 13048 - Solaris no longer needs -mt during linking
Add ClassInfo flag for destructors.
Merge pull request #3725 from Safety0ff/cthasdtor

Add ClassInfo flag for destructors.
Merge pull request #3718 from jasonbking/link

Fix 13048 - Solaris no longer needs -mt during linking