Using perl's was needed a long time ago, when packfiles were generated by perl. It's not needed any more.
So the job is to fix that and use the natural wordsize of the machine:
On (AFAIK) all systems: opcode_type = intval_type = long. This size has to match the pointer size. And floatval_type = double.
Thanks, leo