[lib] misc cleanup
[lib] misc cleanup

andradedev/director,vitalsource/director,webx32/director,flatiron/director,pocketjoso/director,ks3dev/director,kiritoe/director,ks3dev/director,kiritoe/director,tanzhihang/director,cpg1111/director,mylikes/director,GerHobbelt/director,mylikes/director,lzhengms/director,lzhengms/director,pandoraui/director,sheldonzf/director,fadeit/director,meleslilijing/director,pocketjoso/director,tanzhihang/director,GerHobbelt/director,webx32/director,andradedev/director,pandoraui/director,maxogden/director,stonegithubs/director,cpg1111/director,noxryan/director,fadeit/director,meleslilijing/director,apeace/director,sheldonzf/director,vitalsource/director,stonegithubs/director