Separate qmake detection from dependency check

find_qmake_qt4 is now a separate function called by
build_dwarf_therapist and check_dependencies.