sdk build fix
(cherry picked from commit 68d7fbc04499438df06d4728aef0c125cb2d949b)