if the CONFIG_XXX macros used then sdkconfig.h should be included. Also added support for multi-process execution