Codegen fix for upstream qbs