Add GL to link libraries in order to avoid --as-needed problems
Make glues.h header usable in Linux even without SDL