refine convert2so.sh