Fix Qt5 on OSX to use frameworks rather than pkgconfig