Fix GL linking.