BAC-700: changed place where wgNoExternals is exported