set_prototype was added in Scalar::Util 1.11

We require a version higher than that in metadata already, but it can't hurt
to make sure.