configure script change to properly link Qt libs when compiling on Debian