qt4: Fixing up the BUILD and PRE_BUILD