Fix build on systems with Qt5 installed

The 'qmake' installed on systems with Qt5 will generally default to
using that version. Despite the Qt4 requirement in the find_package()
directive, this will break even if Qt4 is installed.

This overrides the qmake version used to the check.