Fixed compile errors in Ackd.