update build files for iOS 7 SDK

GCC has dissappeared in favor of Clang, so we need to adapt.  I
haven't bothered to make this backwards compatible with older SDKs;
the makefile will just get too huge and ugly if we keep doing that.