fix glues build issues