fix #11, compile fails on perl 5.10.0