gcc 4.9 by default does some optimizations that break perl (#121505)

Patch by Tony Cook