Fix BOOL primitive type on 64-bit iOS platorms.

On 64-bit iOS7 platforms bool is encoded as "B"
Merge pull request #107 from steveheyman/master

Fix BOOL primitive type on 64-bit iOS platorms.