[plugins] director: compile fix for cache disabled mode