libbuxton: Revert to old cleanup method

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>