delete less libs when packaging on mac