Better way of getting symbols from libGL.so