vars specified in modules/cfg are added to specific rules (set or append)
fix cmake-gui on win32