Compatibility for compilation with iOS7 target SDK