fix for CPAN RT#90972

Switched from Class::MOP wrapper functions to use Class::Load functions directly.
See https://rt.cpan.org/Ticket/Display.html?id=90972