fixed config.h.in
added some logging