pimd: Fixes to build against current quagga.