Allow perl5.10 to build modules with gcc