Build libgloss