Add impls for all the structs in libc using deriving.