[4.9] [Plugin Templates Bug] Plugins that use UnrealEd dependency dont compile

#Repro

Dear ,

I got the exact same error in a new project, here is my repro for you + a picture of the immediate most obvious error that is in-editor

  1. Make new C++ project, third person template
  2. After compiling, open editor, go to Edit->Plugins
  3. New Plugin
  4. Select the middle option, add button to level editor viewport
  5. Choose a name and make the plugin

#Error Message In-Editor

I immediately see an error message when I do this (4.9.0)