probe for OpenGL library instead of hardcoding

hardcoding libraries is big nono.