cmake: remove config.h from public headers (closes #238)