Added compatibility with 32-bit/legacy Objective-C runtime