Add to rootmaps template fwd decl if no def arg is specified

indeed there is no mechanism in place yet to avoid that the
interpreter raises an error.