Fix some bug in pack.py when building embeddingapi

Signed-off-by: yunfeix.hao <yunfeix.hao@intel.com>
Merge pull request #1028 from haoyunfeix/yunfei/update-package-script-to-fix-some-bug

Fix some bug in pack.py when building embeddingapi