Added repacking for OSX 64-bit systems.

I added a binary for OSX and modified the perl script to check the OS.