tool: Add support for newer SDKs on Mac/Linux.