Fix NoClassDef exception when ProtocolLib not available