sshguard: fixes to run on 10.7+

Closes #17100.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>