Fix warnings when compiling for 64-bit ARM and iOS 7