Genericise tools directory path.