A few spandsp tweaks