Add mkconfig
Update Makefile for mkconfig and config.h
Update bgcnv.c with config.h