Add libGL and libm to link libraries (avoid --as-needed problems)
Make glues.h header usable in Linux even without SDL