Better support for compiling with ios 7.1