bglibs.patch: fixed patch (tg export generated incorrect patch)