Fix makefile for xcode 5 / ios 7