Unless you have a really early model of the printer there should be two sets of holes where the Z end stop switch is mounted. Move the Z stop switch to the upper set of holes to provide room for the glass. The other solution is to use a printable Z end stop mod (see this mod page).