Better detection of QT4 env when QT5 is also installed