Fix 64bit string formatting warnings
Fix 64bit precision loss warnings
Fix crashes on 64bit devices by casting objc_msgSend calls
Merge pull request #542 from aburgel/2.0-64bit

Fix various 64bit issues on 2.0-compat branch