Hi Gaston.
We can use build variable in SDK path setting, for example:

Please make sure KSDK_PATH is defined in Build Variables

I just tested above on my side, the code run normally with these settings.
Please check if this can also work for you.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------