This sounds like you've found both a bug and a potential fix in the AIX build process.
If you're interested, you might want to try to see if you can integrate that into the hints file for the AIX build; the Perl5 Porters are currently in need of someone who has AIX to help solve some of the outstanding bugs there.