Remove external flag and external path.