fix builds on perl <=5.12 again