Don't use new code if specifically targeting OS versions that have the new API.