Add temporary config.h and config.h.in.

This is a temporary fix for the missing config.h when using a pure-CMake
build.

Issue #238.