Update Makefile for iOS/OSX targets