Use modern cmake link categories.