quagga: fix build on SmartOS