[cyril] added compile condition for ios 7 sdk.