Build on mac with Qt 5

I still had this patch on disk.