upgraded some C libs cleanup some C code update osx compile git-svn-id: http://svn.net-core.org/repos/t-engine4@6578 51575b47-30f0-44d4-a5cc-537603b46e54