configure: check for qmake-qt5
Fix the installation location of .prf files