take out `Rc` from behind the `libc` config flag