First attempt to fix issue 1478 - Array.pack