Ported patch to the newer likwid version.
Note for the destructor Bug.