build: fix osx+homebrew+qt5 builds

qt5 is a bottled recipe in Homebrew to avoid conflicting with qt4. These changes help us compensate for that.

Also, Homebrew's qt5 build drags in all of qt5, way more than our minimal build in depends/. Add to the current filter-list to avoid packaging all that cruft.