AppleMD: Add destructors to make compilers happy