agent: Cosmetic fixes to FreeBSD port.

Dependency on included files has been checked.