perl 5.8 does not support '>' modifier for unpack

This fixes test failures on Perl 5.8 for 64bit OSes