Fix libc::c_void usages