agent: Fix compile problem for old Libassuan.