Detect most recent available version of iOS SDK, support iOS 8.1

Change-Id: Iedfaa7cbd12221175ff11a3c034da31b47e7a5d3