Suppress which error when qmake-qt4 is used

this suppresses the "which: no qmake in ..." error when detecting
the path to qmake.
Merge pull request #55 from Ramblurr/master

Suppress which error when qmake-qt4 is used