Fix classads linking on Solaris 11.  #3584.