Fix for compiling OT when Keyring is configured ON.