Make variable local. Terminate if dlls can't be copied.