Fix linking error on libopencv_highgui.dylib for --with-qt option