Remove duplicate extensions for Perl 6