pickle CFG to subprocess

this global does not propagate on win32 platform