Fixes Qt and Qt5 universal builds