auto detect SDK version.   dependencies helper script. make tar more portable