qt5: Build on Xcode-only Macs

Qt5 needs a -sdk flag and the -I to find some CFNumber.h.