Adding config file and checks to enable object dumping
updated distclean rule to not remove config.h.cmake files