Mac OS X support updates.
CMake files for alternative build system
Forgot this file
CMake uses config.h.in now
Fixing cmake files for Linux build and module.