SDK compilation fix