OS 10.9 Compatibility

The only thing required was to explicitly import gl headers
Have no 10.8 or earlier to test if it keeps building well there.