[embedding][XWALK-3238] Improve pack.py to suit higher android api level