[Building] Correctly detect whether to build keyring plugins.