fix bug of package script, donot default os