Fixed Makefile for Xcode 4.6 / iOS SDK 6.x

Make fails due to linker errors with newer versions of Xcode / iOS SDK, this should fix the issue.