Fix a long-standing bug due to changes in @ISA caching introduced in perl 5.10.0