bond: remove debug function to fix link with shared lib