Fix sdk deprecated path warning