Include config.h to main and add copyright notice.