Check sdk in the build script.