lib & externals support