Fix breakage introduced by --minimal patch.