"long" is a 32-bit data type in 32-bit iOS applications. Use "long long" instead

Fixes #166