Fixed OS version logic for badge styling

Previously badge style was determined at build time by checking `__IPHONE_OS_VERSION_MIN_REQUIRED`, which would check the deployment target, not the actual OS of the device being run on. Apps that were compatible with 6.x would show the 6.x style regardless of the OS of the device.