qt4: fix build when cups is installed