add some libc usings for macosx.