Adding compatibility with MooseX::Types 0.37

Fixes issue #31