Fixes RT#90695 Moose enum warnings

Fixes https://rt.cpan.org/Ticket/Display.html?id=90695

The new Moose update change the way enum should be called and calling it the old way generates warnings.