Make a class with GLCD libary

GLCD _glcd;

Use 'glcd' instead, the library declares GLCD as this: extern glcd GLCD; so its a variable not a type.