Fixed QtDeclarative build.