fix pack deps in win and linux