Fix GL build settings