Fix for supporting 64-bit architecture on iOS