Fix *mut libc::c_void being incorrectly replaced by ()