Hack for some cases of calling transformBuildDecl