Correct Apple BOOL to bool.