Initial move to CMake: compiles and works
Corrected a preprocessor clause
Corrected config.h location

Temporary remedy for systems not having glext.h
EB include no longer causes trouble
Merge branch cmake-conversion into master
Fixes for CMake+Xcode