Fix error in building SDK from doc build script.