fix build errors for 32-bit Objective-C