Remove libc dependency