fixed raspberry pi linking with opengl