Compatibility with latest libamd