Blackberry and mobile Qt buildfixes