populate the sysconfig template and add the define