Fix builds against an SDK.