Agent: Solaris 10 build fixes