Fix building with current rustc

Hmm, how come you had to add `visible_private_types`?