Fix some bug in pack.py when building embeddingapi and this patch will not affect other suites
Merge pull request #1501 from jiajiax/jiajiax/fixbug_pack.py_embeddingapi

Fix some bug in pack.py when building embeddingapi and this patch will not affect other suites.