Changed how Build.VERSION.SDK_INT is accessed.