Added initial cmake conversion, 

config.h.in is left intact for now, pending code changes that might make it obsolete