Use meta info to get sdk

Closes #1300