Patch up deprecated API
Autotools