fix inclusion of private_key_t in nm plugin