Set correct extension_dir