pacct: fixed compilation errors

This plugin has rotten somewhat and become uncompilable, fixed all compilation
issues.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>