Link against the kadm5 server library instead of the client library.