Make this more deterministic by sorting the libraries before processing
them and ensuring that we always use the samme collation rules.

Approved by:	re (gjb)
Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects.  This makes it possible to build a static libkrb5 that works.

Reviewed by:	stas
Approved by:	re (gjb)