Fix build scripts for ubuntu to use qt4.

This change is regression. This is used to test launchpad build with ubuntu 13.04. This change need to be adapted to detect qt4 binary automagically.