add ios 8 preprocessor constraints