Xcode 6 fixes

Remove hard coded base SDK and some automatic fixes from Xcode 6