Modified headers/source files to handle the MACOSX_USE_GLX option
Removed X specific (and unuseful) code causing OSX compilation issues when OCE_OSX_USE_COCOA is enabled.