Fixed compilation issues for iOS version < 5.0