added config.h generation to build