Change the library order so libcrypt is the last library in the list. libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically.
Reviewed by: Submitted by: guido
Submitted by: Geoff
set up right yet.