Fixed Makefile issues for Xcode 4.6/iOS SDK 6.x