removed libc dependency